package com.gimi.cloud.bbp.app.consumer.service.product;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.gimi.cloud.bbp.common.exception.MsgException;

public interface ProductService {
	/**
	 * 查询商品详情
	 * @param prodId 商品ID
	 */
	public void showProductDetail(String requestData,HttpServletResponse response, HttpServletRequest request)throws MsgException;
	
	/**
	 * 商品详情页面属性列表
	 */
	public void getProductProp(String requestData,HttpServletResponse response, HttpServletRequest request)throws MsgException;

	/**
	 * 商品详情页面有库存的sku属性组合
	 */
	public void getModelValueList(String requestData,HttpServletResponse response, HttpServletRequest request)throws MsgException;

	/**
	 * 获取某一级或二级分类下的所有商品
	 * @param requestData
	 * @param response
	 * @param request
	 */
	void getProductsOfGrade(String requestData, HttpServletResponse response, HttpServletRequest request);

	/**
	 * 根据查询条件查询商品
	 * @param requestData
	 * @param response
	 * @param request
	 */
	void searchProducts(String requestData, HttpServletResponse response, HttpServletRequest request);
	
}
